package dshop.route;

import com.jfinal.config.Routes;

import dshop.AppConst;
import dshop.action.admin.ActivityAction;
import dshop.action.admin.CommissionAction;
import dshop.action.admin.CommonAction;
import dshop.action.admin.CompanyAction;
import dshop.action.admin.DrawCashAction;
import dshop.action.admin.ExpertAction;
import dshop.action.admin.HomeAction;
import dshop.action.admin.IndexAction;
import dshop.action.admin.JobAction;
import dshop.action.admin.MemberAction;
import dshop.action.admin.NewsAction;
import dshop.action.admin.OrderAction;
import dshop.action.admin.ProcurementAction;
import dshop.action.admin.ProductAction;
import dshop.action.admin.ProjectAction;
import dshop.action.admin.SupermanAction;
import dshop.action.admin.SystemConfigAction;
import dshop.action.admin.UserAction;


public class AdminRoute extends Routes{

	@Override
	public void config() 
	{
		add("/admin", IndexAction.class, AppConst.JSP_BASE_VIEW_PATH + "/admin/");
		
		add("/admin/common", CommonAction.class);
		add("/admin/user", UserAction.class);
		
		add("/admin/member", MemberAction.class);
		add("/admin/procurement", ProcurementAction.class);
		add("/admin/job", JobAction.class);
		add("/admin/activity", ActivityAction.class);
		add("/admin/product", ProductAction.class);
		add("/admin/project", ProjectAction.class);
		add("/admin/expert", ExpertAction.class);
		add("/admin/news", NewsAction.class);
		add("/admin/company", CompanyAction.class);
		add("/admin/systemConfig", SystemConfigAction.class);
		
		add("/admin/home", HomeAction.class);
		add("/admin/order", OrderAction.class);
		
		add("/admin/superman", SupermanAction.class);
		
		add("/admin/commission", CommissionAction.class);
		add("/admin/draw", DrawCashAction.class);
	}
	
	
}
